home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / setclk.arc / SETCLOCK.DOC < prev   
Text File  |  1985-09-23  |  1KB  |  32 lines

  1.              Resetting the AT's Clock and Date
  2.  
  3.     While reading DOS 3.0 I noticed that by using the TIME and DATE
  4. commands it had no effect on the C-MOS real-time clock. The last
  5. paragraph for the TIME and DATE commands states that "If you are
  6. using a IBM Personal Computer AT, typing a new time (or date)
  7. does not change the system clock". 
  8.  
  9.     The way IBM suggests you change the time and date is to run
  10. the SETUP program on the diagnostic diskette in the Guide to
  11. Operations and then reboot the system.
  12.  
  13.     To avoid having to run the diagnostic diskette everytime you
  14. want to change the time or date, and then rebooting, I have
  15. written a assembly language program to allow you to easily change
  16. the time and date. 
  17.  
  18.     The programs consists of a batch file and a .COM file. To
  19. use it just type:
  20.  
  21.         setclock hh:mm:ss mm-dd-yy
  22.  
  23.     where: hh:mm:ss are the hours, minutes, and seconds.
  24.     mm-dd-yy is the month, day, and year. The date is optional.
  25.  
  26.     
  27.     If you want a copy of this program call me. 
  28.  
  29.  
  30.                             Richard Serbin, 2-4609
  31.                             PC Support Team Leader
  32.                             Applications Systems Division